<?php
/*--------------------------------------------------------------
# Copyright (C) 2008 Gavick.com. All Rights Reserved.
# License: Copyrighted Commercial Software
# Website: http://www.gavick.com
# Support: support@gavick.com 
---------------------------------------------------------------*/

defined( '_JEXEC' ) or die( 'Restricted index access' );


$user_position_1 = ($this->countModules('user1')>0) + ($this->countModules('user2')>0);
$user_position_1w = $user_position_1 > 0 ? 'us_width-' . floor(99 / $user_position_1) : '';
$user_position_2 = ($this->countModules('user3')>0) + ($this->countModules('user4')>0);
$user_position_2w = $user_position_2 > 0 ? 'us_width-' . floor(99 / $user_position_2) : '';
$user_position_3 = ($this->countModules('user5')>0) + ($this->countModules('user6')>0) + ($this->countModules('user7')>0) + ($this->countModules('user8')>0) + ($this->countModules('user9')>0) + ($this->countModules('user10')>0);
$user_position_3w = $user_position_3 > 0 ? 'us_width-' . floor(99 / $user_position_3) : '';

$w_component = ('component');
$w_left = $this->countModules( 'left' );
$w_right = $this->countModules( 'right' );
$w_count = ($w_component && $w_left && $w_right)?'-1':(($w_component && $w_left)?'-3':(($w_component && $w_right)?'-2':((($w_left))?'-2' : false)));$content_class = ($w_component && $w_left && $w_right)?'-1':(($w_component && $w_left)?'-3':(($w_component && $w_right)?'-2':((($w_left))?'-2' : false)));


?>
